import request, {
	baseURL
} from '@utils/request.js'

let routeUrl = {
	inventory_lists: "/api/Inventory/inventory_lists", //库存盘点
	inventory_bianma: "/api/Inventory/inventory_bianma", //通过编码获取种子信息
	search_add: "/api/Inventory/search_add", //添加搜索记录
	search_lists: "/api/Inventory/search_lists", //我的搜索记录
	search_del: "/api/Inventory/search_del", //删除历史记录
	detail: "/api/Inventory/detail", //种子详情
	detail_baocun: "/api/Inventory/detail_baocun", //种子详情-保存
	inventory_log: "/api/Inventory/inventory_log", //历史记录
}
export function inventory_listsApi(data) {
	return request({
		url: routeUrl.inventory_lists,
		method: 'GET',
		data,
	})
}
export function inventory_bianmaApi(data) {
	return request({
		url: routeUrl.inventory_bianma,
		method: 'GET',
		data,
	})
}
export function search_addApi(data) {
	return request({
		url: routeUrl.search_add,
		method: 'GET',
		data,
	})
}
export function search_listsApi(data) {
	return request({
		url: routeUrl.search_lists,
		method: 'GET',
		data,
	})
}
export function search_delApi(data) {
	return request({
		url: routeUrl.search_del,
		method: 'GET',
		data,
	})
}
export function detailApi(data) {
	return request({
		url: routeUrl.detail,
		method: 'GET',
		data,
	})
}
export function detail_baocunApi(data) {
	return request({
		url: routeUrl.detail_baocun,
		method: 'GET',
		data,
	})
}
export function inventory_logApi(data) {
	return request({
		url: routeUrl.inventory_log,
		method: 'GET',
		data,
	})
}

